package com.dk.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WarehouseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WarehouseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andWIdIsNull() {
            addCriterion("w_id is null");
            return (Criteria) this;
        }

        public Criteria andWIdIsNotNull() {
            addCriterion("w_id is not null");
            return (Criteria) this;
        }

        public Criteria andWIdEqualTo(Integer value) {
            addCriterion("w_id =", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdNotEqualTo(Integer value) {
            addCriterion("w_id <>", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdGreaterThan(Integer value) {
            addCriterion("w_id >", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("w_id >=", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdLessThan(Integer value) {
            addCriterion("w_id <", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdLessThanOrEqualTo(Integer value) {
            addCriterion("w_id <=", value, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdIn(List<Integer> values) {
            addCriterion("w_id in", values, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdNotIn(List<Integer> values) {
            addCriterion("w_id not in", values, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdBetween(Integer value1, Integer value2) {
            addCriterion("w_id between", value1, value2, "wId");
            return (Criteria) this;
        }

        public Criteria andWIdNotBetween(Integer value1, Integer value2) {
            addCriterion("w_id not between", value1, value2, "wId");
            return (Criteria) this;
        }

        public Criteria andWCodeIsNull() {
            addCriterion("w_code is null");
            return (Criteria) this;
        }

        public Criteria andWCodeIsNotNull() {
            addCriterion("w_code is not null");
            return (Criteria) this;
        }

        public Criteria andWCodeEqualTo(String value) {
            addCriterion("w_code =", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeNotEqualTo(String value) {
            addCriterion("w_code <>", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeGreaterThan(String value) {
            addCriterion("w_code >", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeGreaterThanOrEqualTo(String value) {
            addCriterion("w_code >=", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeLessThan(String value) {
            addCriterion("w_code <", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeLessThanOrEqualTo(String value) {
            addCriterion("w_code <=", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeLike(String value) {
            addCriterion("w_code like", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeNotLike(String value) {
            addCriterion("w_code not like", value, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeIn(List<String> values) {
            addCriterion("w_code in", values, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeNotIn(List<String> values) {
            addCriterion("w_code not in", values, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeBetween(String value1, String value2) {
            addCriterion("w_code between", value1, value2, "wCode");
            return (Criteria) this;
        }

        public Criteria andWCodeNotBetween(String value1, String value2) {
            addCriterion("w_code not between", value1, value2, "wCode");
            return (Criteria) this;
        }

        public Criteria andWNameIsNull() {
            addCriterion("w_name is null");
            return (Criteria) this;
        }

        public Criteria andWNameIsNotNull() {
            addCriterion("w_name is not null");
            return (Criteria) this;
        }

        public Criteria andWNameEqualTo(String value) {
            addCriterion("w_name =", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameNotEqualTo(String value) {
            addCriterion("w_name <>", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameGreaterThan(String value) {
            addCriterion("w_name >", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameGreaterThanOrEqualTo(String value) {
            addCriterion("w_name >=", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameLessThan(String value) {
            addCriterion("w_name <", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameLessThanOrEqualTo(String value) {
            addCriterion("w_name <=", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameLike(String value) {
            addCriterion("w_name like", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameNotLike(String value) {
            addCriterion("w_name not like", value, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameIn(List<String> values) {
            addCriterion("w_name in", values, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameNotIn(List<String> values) {
            addCriterion("w_name not in", values, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameBetween(String value1, String value2) {
            addCriterion("w_name between", value1, value2, "wName");
            return (Criteria) this;
        }

        public Criteria andWNameNotBetween(String value1, String value2) {
            addCriterion("w_name not between", value1, value2, "wName");
            return (Criteria) this;
        }

        public Criteria andWPositionIsNull() {
            addCriterion("w_position is null");
            return (Criteria) this;
        }

        public Criteria andWPositionIsNotNull() {
            addCriterion("w_position is not null");
            return (Criteria) this;
        }

        public Criteria andWPositionEqualTo(String value) {
            addCriterion("w_position =", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionNotEqualTo(String value) {
            addCriterion("w_position <>", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionGreaterThan(String value) {
            addCriterion("w_position >", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionGreaterThanOrEqualTo(String value) {
            addCriterion("w_position >=", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionLessThan(String value) {
            addCriterion("w_position <", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionLessThanOrEqualTo(String value) {
            addCriterion("w_position <=", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionLike(String value) {
            addCriterion("w_position like", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionNotLike(String value) {
            addCriterion("w_position not like", value, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionIn(List<String> values) {
            addCriterion("w_position in", values, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionNotIn(List<String> values) {
            addCriterion("w_position not in", values, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionBetween(String value1, String value2) {
            addCriterion("w_position between", value1, value2, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWPositionNotBetween(String value1, String value2) {
            addCriterion("w_position not between", value1, value2, "wPosition");
            return (Criteria) this;
        }

        public Criteria andWAreaIsNull() {
            addCriterion("w_area is null");
            return (Criteria) this;
        }

        public Criteria andWAreaIsNotNull() {
            addCriterion("w_area is not null");
            return (Criteria) this;
        }

        public Criteria andWAreaEqualTo(Integer value) {
            addCriterion("w_area =", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaNotEqualTo(Integer value) {
            addCriterion("w_area <>", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaGreaterThan(Integer value) {
            addCriterion("w_area >", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaGreaterThanOrEqualTo(Integer value) {
            addCriterion("w_area >=", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaLessThan(Integer value) {
            addCriterion("w_area <", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaLessThanOrEqualTo(Integer value) {
            addCriterion("w_area <=", value, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaIn(List<Integer> values) {
            addCriterion("w_area in", values, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaNotIn(List<Integer> values) {
            addCriterion("w_area not in", values, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaBetween(Integer value1, Integer value2) {
            addCriterion("w_area between", value1, value2, "wArea");
            return (Criteria) this;
        }

        public Criteria andWAreaNotBetween(Integer value1, Integer value2) {
            addCriterion("w_area not between", value1, value2, "wArea");
            return (Criteria) this;
        }

        public Criteria andWHeadIsNull() {
            addCriterion("w_head is null");
            return (Criteria) this;
        }

        public Criteria andWHeadIsNotNull() {
            addCriterion("w_head is not null");
            return (Criteria) this;
        }

        public Criteria andWHeadEqualTo(String value) {
            addCriterion("w_head =", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadNotEqualTo(String value) {
            addCriterion("w_head <>", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadGreaterThan(String value) {
            addCriterion("w_head >", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadGreaterThanOrEqualTo(String value) {
            addCriterion("w_head >=", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadLessThan(String value) {
            addCriterion("w_head <", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadLessThanOrEqualTo(String value) {
            addCriterion("w_head <=", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadLike(String value) {
            addCriterion("w_head like", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadNotLike(String value) {
            addCriterion("w_head not like", value, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadIn(List<String> values) {
            addCriterion("w_head in", values, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadNotIn(List<String> values) {
            addCriterion("w_head not in", values, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadBetween(String value1, String value2) {
            addCriterion("w_head between", value1, value2, "wHead");
            return (Criteria) this;
        }

        public Criteria andWHeadNotBetween(String value1, String value2) {
            addCriterion("w_head not between", value1, value2, "wHead");
            return (Criteria) this;
        }

        public Criteria andWNotesIsNull() {
            addCriterion("w_notes is null");
            return (Criteria) this;
        }

        public Criteria andWNotesIsNotNull() {
            addCriterion("w_notes is not null");
            return (Criteria) this;
        }

        public Criteria andWNotesEqualTo(String value) {
            addCriterion("w_notes =", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesNotEqualTo(String value) {
            addCriterion("w_notes <>", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesGreaterThan(String value) {
            addCriterion("w_notes >", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesGreaterThanOrEqualTo(String value) {
            addCriterion("w_notes >=", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesLessThan(String value) {
            addCriterion("w_notes <", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesLessThanOrEqualTo(String value) {
            addCriterion("w_notes <=", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesLike(String value) {
            addCriterion("w_notes like", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesNotLike(String value) {
            addCriterion("w_notes not like", value, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesIn(List<String> values) {
            addCriterion("w_notes in", values, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesNotIn(List<String> values) {
            addCriterion("w_notes not in", values, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesBetween(String value1, String value2) {
            addCriterion("w_notes between", value1, value2, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWNotesNotBetween(String value1, String value2) {
            addCriterion("w_notes not between", value1, value2, "wNotes");
            return (Criteria) this;
        }

        public Criteria andWDateIsNull() {
            addCriterion("w_date is null");
            return (Criteria) this;
        }

        public Criteria andWDateIsNotNull() {
            addCriterion("w_date is not null");
            return (Criteria) this;
        }

        public Criteria andWDateEqualTo(Date value) {
            addCriterion("w_date =", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateNotEqualTo(Date value) {
            addCriterion("w_date <>", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateGreaterThan(Date value) {
            addCriterion("w_date >", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateGreaterThanOrEqualTo(Date value) {
            addCriterion("w_date >=", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateLessThan(Date value) {
            addCriterion("w_date <", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateLessThanOrEqualTo(Date value) {
            addCriterion("w_date <=", value, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateIn(List<Date> values) {
            addCriterion("w_date in", values, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateNotIn(List<Date> values) {
            addCriterion("w_date not in", values, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateBetween(Date value1, Date value2) {
            addCriterion("w_date between", value1, value2, "wDate");
            return (Criteria) this;
        }

        public Criteria andWDateNotBetween(Date value1, Date value2) {
            addCriterion("w_date not between", value1, value2, "wDate");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(Integer value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(Integer value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(Integer value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(Integer value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(Integer value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<Integer> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<Integer> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(Integer value1, Integer value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(Integer value1, Integer value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andWBeiaIsNull() {
            addCriterion("w_beia is null");
            return (Criteria) this;
        }

        public Criteria andWBeiaIsNotNull() {
            addCriterion("w_beia is not null");
            return (Criteria) this;
        }

        public Criteria andWBeiaEqualTo(String value) {
            addCriterion("w_beia =", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaNotEqualTo(String value) {
            addCriterion("w_beia <>", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaGreaterThan(String value) {
            addCriterion("w_beia >", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaGreaterThanOrEqualTo(String value) {
            addCriterion("w_beia >=", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaLessThan(String value) {
            addCriterion("w_beia <", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaLessThanOrEqualTo(String value) {
            addCriterion("w_beia <=", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaLike(String value) {
            addCriterion("w_beia like", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaNotLike(String value) {
            addCriterion("w_beia not like", value, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaIn(List<String> values) {
            addCriterion("w_beia in", values, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaNotIn(List<String> values) {
            addCriterion("w_beia not in", values, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaBetween(String value1, String value2) {
            addCriterion("w_beia between", value1, value2, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeiaNotBetween(String value1, String value2) {
            addCriterion("w_beia not between", value1, value2, "wBeia");
            return (Criteria) this;
        }

        public Criteria andWBeibIsNull() {
            addCriterion("w_beib is null");
            return (Criteria) this;
        }

        public Criteria andWBeibIsNotNull() {
            addCriterion("w_beib is not null");
            return (Criteria) this;
        }

        public Criteria andWBeibEqualTo(String value) {
            addCriterion("w_beib =", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibNotEqualTo(String value) {
            addCriterion("w_beib <>", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibGreaterThan(String value) {
            addCriterion("w_beib >", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibGreaterThanOrEqualTo(String value) {
            addCriterion("w_beib >=", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibLessThan(String value) {
            addCriterion("w_beib <", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibLessThanOrEqualTo(String value) {
            addCriterion("w_beib <=", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibLike(String value) {
            addCriterion("w_beib like", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibNotLike(String value) {
            addCriterion("w_beib not like", value, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibIn(List<String> values) {
            addCriterion("w_beib in", values, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibNotIn(List<String> values) {
            addCriterion("w_beib not in", values, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibBetween(String value1, String value2) {
            addCriterion("w_beib between", value1, value2, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeibNotBetween(String value1, String value2) {
            addCriterion("w_beib not between", value1, value2, "wBeib");
            return (Criteria) this;
        }

        public Criteria andWBeicIsNull() {
            addCriterion("w_beic is null");
            return (Criteria) this;
        }

        public Criteria andWBeicIsNotNull() {
            addCriterion("w_beic is not null");
            return (Criteria) this;
        }

        public Criteria andWBeicEqualTo(Integer value) {
            addCriterion("w_beic =", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicNotEqualTo(Integer value) {
            addCriterion("w_beic <>", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicGreaterThan(Integer value) {
            addCriterion("w_beic >", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicGreaterThanOrEqualTo(Integer value) {
            addCriterion("w_beic >=", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicLessThan(Integer value) {
            addCriterion("w_beic <", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicLessThanOrEqualTo(Integer value) {
            addCriterion("w_beic <=", value, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicIn(List<Integer> values) {
            addCriterion("w_beic in", values, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicNotIn(List<Integer> values) {
            addCriterion("w_beic not in", values, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicBetween(Integer value1, Integer value2) {
            addCriterion("w_beic between", value1, value2, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeicNotBetween(Integer value1, Integer value2) {
            addCriterion("w_beic not between", value1, value2, "wBeic");
            return (Criteria) this;
        }

        public Criteria andWBeidIsNull() {
            addCriterion("w_beid is null");
            return (Criteria) this;
        }

        public Criteria andWBeidIsNotNull() {
            addCriterion("w_beid is not null");
            return (Criteria) this;
        }

        public Criteria andWBeidEqualTo(Integer value) {
            addCriterion("w_beid =", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidNotEqualTo(Integer value) {
            addCriterion("w_beid <>", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidGreaterThan(Integer value) {
            addCriterion("w_beid >", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("w_beid >=", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidLessThan(Integer value) {
            addCriterion("w_beid <", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidLessThanOrEqualTo(Integer value) {
            addCriterion("w_beid <=", value, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidIn(List<Integer> values) {
            addCriterion("w_beid in", values, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidNotIn(List<Integer> values) {
            addCriterion("w_beid not in", values, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidBetween(Integer value1, Integer value2) {
            addCriterion("w_beid between", value1, value2, "wBeid");
            return (Criteria) this;
        }

        public Criteria andWBeidNotBetween(Integer value1, Integer value2) {
            addCriterion("w_beid not between", value1, value2, "wBeid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}